<?php defined("MAIN_DIR") or die("No direct access");

require_once ADMIN.HEADFILE;
?><br /><br /><?php

if ($error)
	echo "<p style='color:red'>Неправильный логин или пароль</p>";
?><form method="POST">
	<table cellpadding='0' cellspacing='7'>
		<tr>
			<td><label for "login">Логин</label></td>
			<td><input type="text" name="login" /></td>
		</tr>
		<tr>
			<td><label for "pass">Пароль</label></td>
			<td><input type="password" name="pass" /></td>
		</tr>
		<tr>
			<td colspan='2' align="center"><button type="submit">Войти</button><td>
		</tr>
	</table>
</form>
<?php require_once ADMIN.FOOTERFILE; ?>